﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeBehind="Add.aspx.cs" Inherits="lcps.Web.projectinfo.Add" Title="增加页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">    
    <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
        <tr>
            <td class="tdbg">
                
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
	<tr>
	<td height="25" width="30%" align="right">
		项目类型：</td>
	<td height="25" width="*" align="left">
		<asp:DropDownList ID="ddltables" runat="server">
        </asp:DropDownList>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		项目编号：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtproid" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		招标计划编号：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtbidid" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		采购订单号：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtpurchaseid" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		需用单位：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtusework" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		项目名称：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtprojectname" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		项目类型：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtprojecttype" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		供应商名称：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtsupplier" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		物料描述：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtmateriel" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		单位：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtunit" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		数量：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtnums" runat="server" Width="200px"></asp:TextBox>
	    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
            ControlToValidate="txtnums" ErrorMessage="请输入数字" 
            ValidationExpression="^(-?\d+)(\.\d+)?$"></asp:RegularExpressionValidator>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		合同签订日期：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox ID="txtcontractdate" runat="server" Width="70px"  
            onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		合同交货时间：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox ID="txtdeliverydate" runat="server" Width="70px"  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		项目单位要求到货时间：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox ID="txtarrivaldate" runat="server" Width="70px"  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		项目计划投运时间：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox ID="txtworkdate" runat="server" Width="70px"  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		图纸设计计划完成时间：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox ID="txtdrawingplandate" runat="server" Width="70px"  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		目前图纸设计情况：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtdrawingstate" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		图纸应提交设计单位时间：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox ID="txtdrawingsubmitdate" runat="server" Width="70px"  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		要求设计单位确认时间：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox ID="txtdrawingconfirmdate" runat="server" Width="70px"  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		设计单位确认情况：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtdesignstate" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		主要原材料采购情况：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtmajormaterielpurchase" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		目前设备生产状态：</td>
	<td height="25" width="*" align="left">
		<asp:DropDownList ID="txtdeviceproductionstate" runat="server">
            <asp:ListItem>未排产</asp:ListItem>
            <asp:ListItem>已排产，未生产</asp:ListItem>
            <asp:ListItem>正在生产</asp:ListItem>
            <asp:ListItem>生产完成待运</asp:ListItem>
            <asp:ListItem>已发运，未到货</asp:ListItem>
            <asp:ListItem>已发货</asp:ListItem>
        </asp:DropDownList>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		本月生产情况：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtmothstate" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		下月生产计划：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtnextmoth" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		计划到货时间：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox ID="txtplanarrivedate" runat="server" Width="70px"  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		需要协调的问题：</td>
	<td height="25" width="*" align="left">
		<asp:DropDownList ID="txtcoordinate" runat="server">
            <asp:ListItem>图纸未确认</asp:ListItem>
            <asp:ListItem>未排产</asp:ListItem>
            <asp:ListItem>生产进度不能满足合同交货期</asp:ListItem>
            <asp:ListItem>现场不具备接收条件</asp:ListItem>
            <asp:ListItem>质量缺陷</asp:ListItem>
        </asp:DropDownList>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		备注：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtremark" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		实际到货时间：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox ID="txtrealdate" runat="server" Width="70px"  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		接收人：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtreceivedname" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		联系电话：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtreceivedphone" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		供应商联系人：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtsuppliername" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		联系电话：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtsupplierphone" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		&nbsp;</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txttableid" runat="server" Width="200px" Visible="False"></asp:TextBox>
	</td></tr>
</table>
<script src="/js/calendar1.js" type="text/javascript"></script>

            </td>
        </tr>
        <tr>
            <td class="tdbg" align="center" valign="bottom">
                <asp:Button ID="btnSave" runat="server" Text="保  存"
                    OnClick="btnSave_Click" class="inputbutton" onmouseover="this.className='inputbutton_hover'"
                    onmouseout="this.className='inputbutton'" Height="32px" Width="100px"></asp:Button>
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="btnCancle" runat="server" Text="取  消"
                    OnClick="btnCancle_Click" class="inputbutton" onmouseover="this.className='inputbutton_hover'"
                    onmouseout="this.className='inputbutton'" Height="32px" Width="100px"></asp:Button>
            </td>
        </tr>
    </table>
    <br />
</asp:Content>
<%--<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceCheckright" runat="server">
</asp:Content>--%>
